<?php
//include 'function.php';
//include 'DatabaseObject/Video.php';

class IndexController extends Zend_Controller_Action
{
  private $db;
  private $user_table;
  private $content_table;

  public function init()
  {
    /* Initialize action controller here */
    /* $db_obj = new myDb(); */
    /* $this->db = $db_obj->getDb(); */

    /* $this->db->exec('set names utf8;'); */
    /* $this->db->setFetchMode(Zend_Db::FETCH_OBJ); */

    /* /\* $user = new User(); *\/ */
    /* Zend_Session::start(); */
    /* $session = new Zend_Session_Namespace('account'); */
    /* Zend_Db_Table::setDefaultAdapter($this->db); */
    
    /* // $this->category_table = new Application_Model_DbTable_Category(); */
    /* $this->content_table = new Application_Model_DbTable_Content(); */
  }

  public function indexAction()
  {
    //$this->view->courses = $this->content_table->fetchAll();
  }

  public function menuAction()
  {
    /* $catmapper = new Application_Model_CategoryMapper(); */
    /* $this->view->cats = $catmapper->getCategoryTree(0); */
    /* print "<pre>"; */
    /* print_r($this->view->cats); */
    /* print "</pre>"; */
  }
}

